package com.gqz.defect.vo;

import com.alibaba.fastjson2.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.gqz.common.core.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;


@Data
@AllArgsConstructor
@NoArgsConstructor
public class EnDefectsSheetRelVo extends EnStockEquipDefectVo implements Serializable {


    /**
     * 主键
     **/
    @Excel(name = "主键", width = 20)
    private String id;

    /**
     * 工单id
     **/
    @Excel(name = "工单id", width = 20)
    private String sheetId;

    /**
     * 缺陷隐患id
     **/
    @Excel(name = "缺陷隐患id", width = 20)
    private String defectsId;

    /**
     * 是否删除 0否1是
     **/
    @Excel(name = "是否删除 0否1是", width = 10)
    private String sfsc;

    /**
     * 创建时间
     **/
    @Excel(name = "创建时间", width = 25, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(name = "createTime", format = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /**
     * 缺陷隐患是否仍存在 (1.存在2.不存在)
     **/
    @Excel(name = "缺陷隐患是否仍存在 (1.存在2.不存在)", width = 10)
    private String isExit;

    /**
     * 消缺前照片
     **/
    @Excel(name = "消缺前照片", width = 20)
    private String beforePictureIds;

    /**
     * 消缺中照片
     **/
    @Excel(name = "消缺中照片", width = 20)
    private String inPictureIds;

    /**
     * 消缺后照片
     **/
    @Excel(name = "消缺后照片", width = 20)
    private String afterPictureIds;

    /**
     * 处理方法
     **/
    @Excel(name = "处理方法", width = 20)
    private String dealMethod;

    /**
     * 备注
     **/
    @Excel(name = "备注", width = 20)
    private String remark;

    /**
     * 处理结果
     **/
    @Excel(name = "处理结果", width = 20)
    private String handleResult;

    /**
     * 未处理原因
     **/
    @Excel(name = "未处理原因", width = 20)
    private String noHandleReason;

    /**
     * 到达现场照片
     **/
    @Excel(name = "到达现场照片", width = 20)
    private String ddxcPictureIds;

    /**
     * 现场情况照片
     **/
    private String xcqkPictureIds;

    /**
     * 到达现场时间
     **/
    private Date ddxcTime;

    /**
     * 到达现场坐标
     **/
    private String ddxcZb;

    /**
     * 消缺时间
     **/
    @Excel(name = "消缺时间", width = 25, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(name = "qxyhXqsj", format = "yyyy-MM-dd HH:mm:ss")
    private Date qxyhXqsj;

}
